home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / billyjoe.gsh < prev    next >
Text File  |  2000-08-22  |  1KB  |  48 lines

  1. // defines BillyJoe
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_BILLYJOE_GSH
  8. #define INCLUDED_BILLYJOE_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "lasers.gsh"
  13. #include "defaults.gsh"
  14.  
  15. hierarchy Hcy_BillyJoe
  16. {
  17.     file "units\BillyJoeJimBob.RIF"
  18.     name "bolter + drills"
  19.     hotspot "dum flash"
  20. }
  21.  
  22. character Chr_BillyJoe : Chr_DefaultBaddie
  23. {
  24.     turning speed   0.125
  25.     walking speed   1
  26.     weapon          Wpn_RedLaser
  27.     strength        15
  28.     aim             7
  29.     sight angle    85    // in degrees
  30.     sight range     8    // this is actually (range in metres) squared
  31.     hearing range    20    // again, this value has been squared
  32.     aggression    0.5    // from 0 to 1
  33. }
  34.  
  35. role Rol_BillyJoe : Rol_DefaultRobot
  36. {
  37.     shape            Hcy_BillyJoe
  38.     
  39.     character        Chr_BillyJoe
  40.         
  41.     identifier       "billyjoe"
  42. }
  43.  
  44. ////////////////////////////////////////////////////////////////////////////////////
  45.  
  46. // end wrapper - for preventing multiple or recursive inclusions
  47. #endif // !INCLUDED_BILLYJOE_GSH
  48.